remotemanager.serialisation.serialjsonpickle module

class remotemanager.serialisation.serialjsonpickle.serialjsonpickle[source]

subclass of serial, implementing jsonpickle methods

dump(obj, file)[source]

Dump object obj to file file

Base behaviour tries to write the output of self.dumps to a file. Overwrite for custom behaviour

Parameters:
  • obj – object to be dumped

  • file (str) – filepath to dump to

Returns:

None

load(file)[source]

Load previously dumped data from file file

Base behaviour tries to load file via self.dumps Overwrite for custom behaviour

Parameters:

file (str) – filepath to load

Returns:

Stored object

property callstring: str

Returns (str): Intended string for calling this module’s dump. See subclasses for examples